<%@ include file = "top.jsp"%>
<%

int id = Integer.parseInt(request.getParameter("id"));

%>
<a href='image.jsp?id=<%=id+1%>'>
<img src='image?id=<%=id%>'>
</a>